package com.lanchetech.dao;
import org.apache.ibatis.annotations.Param;

import com.lanchetech.entity.OldUser;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OldUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(OldUser record);

    int insertSelective(OldUser record);

    OldUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OldUser record);

    int updateByPrimaryKey(OldUser record);

    int updateBatchSelective(List<OldUser> list);

    OldUser findOneByOpenid(@Param("openid")String openid);


}